-
Home
-
HurryTimer – An Scarcity and Urgency Countdown Timer for WordPress & WooCommerce
-
2.12.0
-
Code
-
Classes
- CarbonPeriod
| Total Complexity |
213 |
| Dependencies |
13 |
| Dependents |
2 |
| Total lines |
1,362 |
| Lines of code |
534 |
| Logical lines of code |
318 |
| Comment lines |
533 |
| Methods |
64 |
| Properties |
12 |
Methods 64
| Method |
Rating |
Maintainability
|
Complexity
|
Lines of code
|
| __call() |
D |
35 |
44 |
64 |
| __construct() |
B |
47 |
19 |
31 |
| parseIso8601() |
A |
52 |
11 |
21 |
| setEndDate() |
S |
57 |
6 |
17 |
| toString() |
S |
55 |
6 |
17 |
| callMacro() |
S |
55 |
6 |
17 |
| setRecurrences() |
S |
59 |
6 |
14 |
| rewind() |
S |
61 |
5 |
12 |
| intervalHasTime() |
S |
76 |
5 |
3 |
| filterEndDate() |
S |
65 |
5 |
9 |
| checkFilters() |
S |
58 |
4 |
15 |
| isCarbonPredicateMethod() |
S |
75 |
4 |
3 |
| setOptions() |
S |
66 |
4 |
8 |
| hasFilter() |
S |
65 |
4 |
9 |
| setDateInterval() |
S |
62 |
3 |
12 |
| toIso8601String() |
S |
62 |
3 |
12 |
| resetFilters() |
S |
63 |
3 |
11 |
| toggleOptions() |
S |
65 |
3 |
9 |
| updateInternalState() |
S |
68 |
3 |
8 |
| setStartDate() |
S |
64 |
3 |
10 |
| validateCurrentDate() |
S |
66 |
3 |
9 |
| next() |
S |
66 |
3 |
9 |
| skip() |
S |
70 |
3 |
6 |
| incrementCurrentDateUntilValid() |
S |
63 |
3 |
10 |
| toArray() |
S |
61 |
2 |
14 |
| removeFilter() |
S |
62 |
2 |
12 |
| createFromIso() |
S |
67 |
2 |
8 |
| isIso8601() |
S |
65 |
2 |
8 |
| addMissingParts() |
S |
70 |
2 |
5 |
| mixin() |
S |
64 |
2 |
10 |
| getEndDate() |
S |
75 |
2 |
5 |
| createFilterTuple() |
S |
66 |
2 |
9 |
| filterRecurrences() |
S |
72 |
2 |
6 |
| prepareForReturn() |
S |
70 |
2 |
7 |
| key() |
S |
75 |
2 |
5 |
| current() |
S |
74 |
2 |
5 |
| first() |
S |
73 |
2 |
5 |
| last() |
S |
72 |
2 |
5 |
| create() |
S |
79 |
1 |
3 |
| createFromArray() |
S |
72 |
1 |
5 |
| macro() |
S |
79 |
1 |
3 |
| resetMacros() |
S |
80 |
1 |
3 |
| hasMacro() |
S |
79 |
1 |
3 |
| __callStatic() |
S |
74 |
1 |
5 |
| invertDateInterval() |
S |
76 |
1 |
4 |
| setDates() |
S |
74 |
1 |
5 |
| getOptions() |
S |
82 |
1 |
3 |
| excludeStartDate() |
S |
79 |
1 |
3 |
| excludeEndDate() |
S |
79 |
1 |
3 |
| getDateInterval() |
S |
81 |
1 |
3 |
| getStartDate() |
S |
81 |
1 |
3 |
| getRecurrences() |
S |
82 |
1 |
3 |
| isStartExcluded() |
S |
79 |
1 |
3 |
| isEndExcluded() |
S |
79 |
1 |
3 |
| addFilter() |
S |
71 |
1 |
6 |
| prependFilter() |
S |
70 |
1 |
6 |
| getFilters() |
S |
82 |
1 |
3 |
| setFilters() |
S |
71 |
1 |
6 |
| endIteration() |
S |
81 |
1 |
3 |
| handleChangedParameters() |
S |
81 |
1 |
3 |
| valid() |
S |
80 |
1 |
3 |
| spec() |
S |
81 |
1 |
3 |
| count() |
S |
80 |
1 |
3 |
| __toString() |
S |
81 |
1 |
3 |